package com.wcs.exam.controller.admin.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.util.Collection;

/**
 * <p>
 * Admin-试题信息-移动请求参数
 * </p>
 *
 * @author wcs
 * @since 2025-03-11
 */
@Getter
@Setter
@Accessors(chain = true)
@Schema(description = "Admin-试题信息-移动请求参数")
public class AdminQuestionMoveReq implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Size(min = 1, message = "主键ID不能为空")
    @NotNull(message = "主键ID不能为空")
    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private Collection<Long> ids;

    @NotNull(message = "目录ID不能为空")
    @Schema(description = "目录ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long categoryId;
}
